package nexus.com.grid
{
	import flash.text.TextFormat;
	
	import nexus.definition.Align;

	public class GridColumn
	{
		
		public var title : Object = null;
		public var width : Number = 100;
		public var labelField : String = "";
		public var alignHrizontal : String = "center";
		public var alignTitleHorizontal : String = "center";
		public var alignVertical : String = "top";
		public var alignTitleVertical : String = "middle";
		
		
		public function GridColumn( _title:Object=null, 
									_width:Number=100,
									_labelField : String = "",
									_alignHrizontal : String = "left",
									_alignTitleHorizontal : String = "center",
									_alignVertical : String = "top",
									_alignTitleVertical : String = "middle"
		)
		{
			title = _title;
			width = _width;
			labelField = _labelField;
			alignHrizontal = _alignHrizontal;
			alignTitleHorizontal = _alignTitleHorizontal;
			alignVertical = _alignVertical;
			alignTitleVertical = _alignTitleVertical;
		}
	}
}